package com.doraro.platform.module.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.doraro.platform.module.user.model.entity.SysMenu;
import com.doraro.platform.module.user.model.entity.SysRole;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author doraro
 * @since 2019-05-22
 */
public interface ISysMenuService extends IService<SysMenu> {

    List<SysMenu> getTreeList();

    Integer createOrUpdateMenu(SysMenu sysMenu);

    void removeMenu(Integer menuId);

    List<SysMenu> getTreeList(List<SysRole> roles);
}
